package com.ict.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 物联设备信息对象 yzq_Iot_device_info
 * 
 * @author ruoyi
 * @date 2022-03-07
 */
@Data
@TableName("yzq_Iot_device_info")
public class IotDeviceInfo implements Serializable
{
    private static final long serialVersionUID = 1L;

    public static final String DELETE_STATUS_NORMAL = "0";
    public static final String DELETE_STATUS_UNNORMAL = "1";

    /** 物联设备id */
    @ApiModelProperty(value = "物联设备id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(type = IdType.ASSIGN_ID)
    private Long lotDeviceId;

    /** 方案id */
    @ApiModelProperty(value = "方案id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long programmeId;

    /** 产品名称 */
    @ApiModelProperty(value = "产品名称")
    private String productName;

    /** 参数 */
   @ApiModelProperty(value = "参数")
    private String deviceParam;

    /** 数量 */
    @ApiModelProperty(value = "数量")
    private Integer deviceNum;

    /** 建设地点 */
    @ApiModelProperty(value = "建设地点")
    private String constructionSite;

    /** 建设方式 */
   @ApiModelProperty(value = "建设方式")
    private String constructionWay;

    /** 设备功能 */
   @ApiModelProperty(value = "设备功能")
    private String deviceFunction;

    /** 删除状态{0正常1删除} */
    @ApiModelProperty(value = "删除状态{0正常1删除}")
    private String delFlag;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /** 纬度 */
    @ApiModelProperty(value = "纬度")
    private Double latitude;

    /** 经度 */
    @ApiModelProperty(value = "经度")
    private Double longitude;

    /** 半径 */
    @ApiModelProperty(value = "半径")
    private Double radius;
}
